package ${namespace}.entity;

<#list collist as col>
<#if col.colName != "ID" && col.colName != "STATUS" && col.colName != "IS_DELETE" && col.colName != "CREATER"
		&& col.colName != "CREATE_TIME" && col.colName != "MODIBIER" && col.colName != "MODIFY_TIME" && col.colName != "VERSION">
<#if col.colType == "2" || col.colType == "3" || col.colType == "6" || col.colType == "7" || col.colType == "8" >  
import java.math.BigDecimal;
<#elseif col.colType == "91" || col.colType == "92" || col.colType == "93" >  
import java.util.Date;
</#if>
</#if>
</#list>
import com.solution.common.entity.BaseEntity;

/**
 * ${comment}实体类
 * @author ${author}
 * @date ${.now?string("yyyy-MM-dd HH:mm:ss")}
 */
public class ${clazz} extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;
	
	<#--
		字段类型注释
		public final static int BIT             =  -7;
        public final static int TINYINT         =  -6;
        public final static int SMALLINT        =   5;
        public final static int INTEGER         =   4;
        public final static int BIGINT          =  -5;
        
        
        public final static int FLOAT           =   6;
        public final static int REAL            =   7;
        public final static int DOUBLE          =   8;
        public final static int NUMERIC         =   2;
        public final static int DECIMAL         =   3;
        
        public final static int CHAR            =   1;
        public final static int VARCHAR         =  12;
        public final static int LONGVARCHAR     =  -1;
        public final static int BOOLEAN = 16;
        
        public final static int DATE            =  91;
        public final static int TIME            =  92;
        public final static int TIMESTAMP       =  93;
    -->
	<#list collist as col>
	<#if col.colName != "ID" && col.colName != "STATUS" && col.colName != "IS_DELETE" && col.colName != "CREATER"
		&& col.colName != "CREATE_TIME" && col.colName != "MODIBIER" && col.colName != "MODIFY_TIME" && col.colName != "VERSION">
	
	/**
	 * ${col.colCom}
	 */
	<#if col.colType == "4" || col.colType == "5" || col.colType == "-5" || col.colType == "-6" || col.colType == "-7" >  
 	private int ${col.propertyName};
	<#elseif col.colType == "2" || col.colType == "3" || col.colType == "6" || col.colType == "7" || col.colType == "8" >  
	private BigDecimal ${col.propertyName};
	<#elseif col.colType == "1" || col.colType == "-1" || col.colType == "12" || col.colType == "16" >  
	private String ${col.propertyName};
	<#elseif col.colType == "91" || col.colType == "92" || col.colType == "93" >  
	private Date ${col.propertyName}; 
	<#else>
	private !!! ${col.propertyName};
	</#if>
	</#if>  
	</#list>
	
	
	
	
	<#list collist as col>
	<#if col.colName != "ID" && col.colName != "STATUS" && col.colName != "IS_DELETE" && col.colName != "CREATER"
		&& col.colName != "CREATE_TIME" && col.colName != "MODIBIER" && col.colName != "MODIFY_TIME" && col.colName != "VERSION">

	/**
	 * ${col.colCom}
	 */
	<#if col.colType == "4" || col.colType == "5" || col.colType == "-5" || col.colType == "-6" || col.colType == "-7" >  
 	public int get${col.bpropertyName}() {
		return ${col.propertyName};
	}
	public void set${col.bpropertyName}(int ${col.propertyName}) {
		this.${col.propertyName}=${col.propertyName};
	}
	<#elseif col.colType == "2" || col.colType == "3" || col.colType == "6" || col.colType == "7" || col.colType == "8" >  
	public BigDecimal get${col.bpropertyName}() {
		return ${col.propertyName};
	}
	public void set${col.bpropertyName}(BigDecimal ${col.propertyName}) {
		this.${col.propertyName}=${col.propertyName};
	}
	<#elseif col.colType == "1" || col.colType == "-1" || col.colType == "12" || col.colType == "16" >  
	public String get${col.bpropertyName}() {
		return ${col.propertyName};
	}
	public void set${col.bpropertyName}(String ${col.propertyName}) {
		this.${col.propertyName}=${col.propertyName};
	}
	<#elseif col.colType == "91" || col.colType == "92" || col.colType == "93" >  
	public Date get${col.bpropertyName}() {
		return ${col.propertyName};
	}
	public void set${col.bpropertyName}(Date ${col.propertyName}) {
		this.${col.propertyName}=${col.propertyName};
	}
	<#else>
	private !!! ${col.propertyName};
	</#if>
	</#if>
	</#list>
}
